
function CategorySearch()
{
    var cat = $("#categoryrecherche_category").val();
    var DATA = 'category=' + cat;
    $.ajax({
        type: "POST",
        url: 'http://127.0.0.1/pokeshop/web/app_dev.php/rechercher',
        data: DATA,
        cache: false,
        success: function(data){
           $('#resultats_recherche').html(data);
        },
        error: function(){
			alert('erreur');
		}
    });    

}